import { useBoolean } from 'ahooks';

export default function useRerender() {
    const [, { toggle }] = useBoolean(false);
    return () => toggle();
}
